<?php

namespace AppBundle\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use AppBundle\Entity\User;

/**
 * 主控制器
 *
 * @Route("/index")
 */
class IndexController extends Controller
{
    /**
     * @Route("/", name="index_index")
     * @Method("GET")
     */
    public function indexAction(Request $request)
    {
        return $this->render('index/index.html.twig');
    }

    /**
     * @Route("/system",name="index_system")
     * @Method("GET")
     */
    public function systemAction(Request $request)
    {
        return $this->render('index/system.html.twig');
    }

    /**
     * @Route("/msn",name="index_msn")
     * @Method("GET")
     */
    public function msnAction(Request $request)
    {
        return $this->render('index/msn.html.twig');
    }

    /**
     * @Route("/memo",name="index_memo")
     * @Method("GET")
     */
    public function memoAction(Request $request)
    {
        return $this->render('index/memo.html.twig');
    }

    /**
     * @Route("/rule",name="index_rule")
     * @Method("GET")
     */
    public function ruleAction(Request $request)
    {
        return $this->render('index/rule.html.twig');
    }

    /**
     * @Route("/parameter",name="index_parameter")
     * @Method("GET")
     */
    public function parameterAction(Request $request)
    {
        return $this->render('index/parameter.html.twig');
    }
    /**
     * @Route("/car",name="index_car")
     * @Method("GET")
     */
    public function carAction(Request $request)
    {
        return $this->render('index/car.html.twig');
    }

    /**
     * @Route("/attendence",name="index_attendence")
     * @Method("GET")
     */
    public function attendenceAction(Request $request)
    {
        return $this->render('index/attendence.html.twig');
    }
}
